package com.ljf.daily.costmanagement.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 费用管理明细--返回  DailyDatCostManagementDetail
 *
 * @author LJF
 * @since 2025-04-03
 */
@Data
@ApiModel("费用管理明细--返回")
public class DailyDatCostManagementDetailVO implements Serializable {

    @JsonProperty("id")
    @ApiModelProperty(value = "ID")
    private Long id;

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private String code;

    @JsonProperty("sort")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @JsonProperty("amount")
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @JsonProperty("quantity")
    @ApiModelProperty(value = "数量")
    private BigDecimal quantity;

    @JsonProperty("remainQuantity")
    @ApiModelProperty(value = "剩余数量")
    private BigDecimal remainQuantity;

    @JsonProperty("purchasingDate")
    @ApiModelProperty(value = "购买时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date purchasingDate;

    @JsonProperty("name")
    @ApiModelProperty(value = "名称")
    private String name;

    @JsonProperty("quantityName")
    @ApiModelProperty(value = "数量描述")
    private String quantityName;

    @JsonProperty("remainQuantityName")
    @ApiModelProperty(value = "剩余数量描述")
    private String remainQuantityName;

    @JsonProperty("quantityStatus")
    @ApiModelProperty(value = "数量状态")
    private Integer quantityStatus;

    @JsonProperty("quantityStatusName")
    @ApiModelProperty(value = "数量状态描述")
    private String quantityStatusName;

    @JsonProperty("calculateUnit")
    @ApiModelProperty(value = "计量单位")
    private String calculateUnit;

}
